<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<% Integer curpage = 1;
	Integer totalpage;
%>

<head>
<meta charset="utf-8">
	<title>图书借阅系统</title>
	<link rel="stylesheet" href="../css/footer.css">
	<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<jsp:include page="navbar.jsp"/>


<div class="row">
	
	<div class="col-md-2" style="padding-left:30px;padding-top:20px">
		<div class="raw">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">
						所有分类
					</h3>
				</div>
				<div class="panel-body">
					<ul class="nav nav-pills nav-stacked">
						<li class="active"><a href="#">Home</a></li>
						
<%-- 					<c:forEach items="${classlist}" var="clsses">
						<li>
						<a href="${pageContext.request.contextPath }/items/editItems.action?classid=${class.id}">${class.name }</a>
						</li>
						</c:forEach> --%>
						
						<li><a href="#">SVN</a></li>
						<li><a href="#">iOS</a></li>
						<li><a href="#">VB.Net</a></li>
						<li><a href="#">VB.Net</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="raw">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">
						操作
					</h3>
				</div>
				<div class="panel-body">
					<ul class="nav nav-pills nav-stacked">
						<li><a href="addclassify.jsp">增加分类</a></li>
						<li><a href="addbook.jsp">增加图书</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	
	<div class="col-md-9">
		<div class="container">
			<div class="row">
				<div class="col-md-12">
					<h1 class="display-1 text-center">图书信息</h1>
				</div>
			</div>
		</div>
		<table class="table table-striped table-hover">
			<thead>
				<tr>
					<th>编号</th>
					<th>书名</th>
					<th>作者</th>
					<th>出版社</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>Tanmay</td>
					<td>Bangalore</td>
					<td>560001</td>
					<td>Bangalore</td>
				</tr>
				<!-- foreach 循环进行信息录入 
					<c:forEach items="${booklist}" var="book">
					<tr>
						<td>${book.bookClass}</td>
						<td>${book.bId}</td>
						<td>${book.bIsbn}</td>
						<td>${book.bName}</td>
						<td>${book.author}</td>
						<td>${book.bPublishHouse}</td>
						<td><fmt:formatDate value="${book.bPublishDate}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td>${book.bPrice}</td>
						<td><a href="${pageContext.request.contextPath }/items/editItems.action?bIsbn=${book.bIsbn}">借阅</a></td>
					</tr>
					</c:forEach>
					 -->
			</tbody>
		</table>
		<ul class="pager">
			<li><a href="#">上一页</a></li>
			<li><label>${curpage }</label></li>
			<li><label>/</label></li>
			<li><label>${totalpage }</label></li>
			<li><a href="#">下一页</a></li>
		</ul>
	</div>
	
	<div class="col-md-1"></div>
	
</div>

<jsp:include page="footer.jsp" />

</body>
</html>